Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize CounterCheckOrch with port information after QueueMaps initialization #528

Conversation

pavel-shirshov
Copy link
Contributor

What I did
Postpone initialization of CounterCheckOrch until we have all required information

Why I did it
Otherwise CounterCheckOrch is not properly initialized

How I verified it
Build a new image and try on your DUT

Details if related

@qiluo-msft
Copy link
Contributor

I notice the syslog message is lacking the complete info.

Jun 28 07:40:16.701803 arc-switch1041 ERR swss/orchagent: :- main: Failed due to exception: _Map_base::at

Since you mentioned "Otherwise CounterCheckOrch is not properly initialized", could you add more try-catch and logging for all kinds of risks?

@sonic-net sonic-net deleted a comment from pavel-shirshov Jun 29, 2018
@lguohan
Copy link
Contributor

lguohan commented Jun 29, 2018

retest this please

@pavel-shirshov pavel-shirshov merged commit 90ea7a4 into sonic-net:master Jun 29, 2018
lguohan pushed a commit that referenced this pull request Jun 30, 2018
…tialization (#528)

* Pospone QueueMap initialization until activation of counters

* Initialize CounterCheckOrch after we initialized the QueueMaps
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
…get_availability (sonic-net#528)

* Add sai_object_type_get_availability to libsairedis
* Add handler for sai_object_type_get_availability to syncd
* Add sai_object_type_get_availability implementation to virtual switch

Signed-off-by: Danny Allen <daall@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants